.index {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40rpx;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-sizing: border-box;
}

.title {
  font-size: 48rpx;
  font-weight: bold;
  color: white;
  text-align: center;
  margin-bottom: 40rpx;
  text-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.2);
}

.input-group {
  width: 100%;
  max-width: 600rpx;
  margin-bottom: 30rpx;
}

.label {
  font-size: 30rpx;
  color: white;
  margin-bottom: 10rpx;
  display: block;
}

.input {
  width: 100%;
  padding: 20rpx;
  border: 1rpx solid #ddd;
  border-radius: 10rpx;
  font-size: 28rpx;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
}

.input.small {
  width: 200rpx;
}

.button-group {
  width: 100%;
  max-width: 600rpx;
  margin-bottom: 40rpx;
  display: flex;
  flex-direction: column;
  gap: 20rpx;
}

.button-group Button {
  font-size: 32rpx;
  padding: 20rpx 0;
  border-radius: 10rpx;
}

.button-group Button:nth-child(1) {
  background-color: #4CAF50;
  border: none;
  box-shadow: 0 6rpx 12rpx rgba(76, 175, 80, 0.3);
}

.button-group Button:disabled {
  opacity: 0.5;
}

.blockchain-info {
  width: 100%;
  max-width: 600rpx;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30rpx;
  border-radius: 20rpx;
  backdrop-filter: blur(10px);
  margin-bottom: 30rpx;
}

.subtitle {
  font-size: 34rpx;
  font-weight: bold;
  color: white;
  margin-bottom: 20rpx;
  display: block;
}

.blockchain-info Text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 28rpx;
  display: block;
  margin-bottom: 10rpx;
}

/* 日志容器样式 */
.logs-container {
  width: 100%;
  max-width: 600rpx;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 20rpx;
  padding: 20rpx;
  backdrop-filter: blur(10px);
}

.logs {
  max-height: 400rpx;
  overflow-y: auto;
  padding-right: 10rpx;
}

/* 自定义滚动条样式 */
.logs::-webkit-scrollbar {
  width: 8rpx;
}

.logs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4rpx;
}

.logs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4rpx;
}

.logs::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.log-entry {
  color: #00ff00;
  font-size: 24rpx;
  line-height: 1.5;
  font-family: 'Courier New', monospace;
  white-space: pre-wrap;
  word-break: break-all;
  margin-bottom: 6rpx;
  display: block;
}
